package com.aiyige.model.request;

import com.aiyige.base.api.ApiManager;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * Created by zhuyakun on 2017/11/21.
 */

public class HintTagsRequest {
    String keyword;

    private HintTagsRequest(Builder builder) {
        setKeyword(builder.keyword);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }


    public static final class Builder {
        private String keyword;

        private Builder() {
        }

        public Builder keyword(String keyword) {
            this.keyword = keyword;
            return this;
        }

        public Call<ResponseBody> build() {
            return ApiManager.getService().hintTags(new HintTagsRequest(this));
        }
    }
}
